package com.cn.designpatterns.ex.again.ex.prototype;

/**
 * @author: zhangyi
 * @date: 2019/1/9 09:40
 * @description:
 */
public class Prototype {

    private String type;

    private String style;

    public Prototype(String type, String style) {
        this.type = type;
        this.style = style;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    @Override
    public String toString() {
        return type+"---"+style;
    }
}


